From 57e83cfeff9b98c81790d0a01693f6db75b9cade Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 23 Feb 1993 07:27:39 +0000 Subject: [PATCH] (C_entries): Don't reset definedef when a newline inside a comment is met. --- lib-src/etags.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index 67b76826727..25fe5507ff6 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -1672,7 +1672,14 @@ C_entries (c_ext) /* Detect end of line, after having handled the last token on the line. */ if (c == 0) { - CNL; + if (incomm) + { + CNL_SAVE_DEFINEDEF; + } + else + { + CNL; + } gotone = FALSE; } if (c == ';' && tydef == end) /* clean with typedefs */ -- 2.30.2